package com.dongjiantong.openplatform.core;

import com.dongjiantong.openplatform.entity.OPRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author cao
 * @create 2017-12-13 下午7:14
 **/
public class DefaultPushPostHandle implements PushPostHandle {
    private static final Logger log = LoggerFactory.getLogger(DefaultPushPostHandle.class);

    public DefaultPushPostHandle() {
    }

    @Override
    public void handle(OPRequest req, int code, String body) {
        log.debug("req {} code {}, body {}", new Object[]{req.getParams(), Integer.valueOf(code), body});
    }
}